package org.andot.one.oms.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "one-ums")
public interface UserFeignService {
    @GetMapping("/user/id")
    String getUserInfo1(@RequestParam("name") String name);
}
